package com.sinog.biz.service.business.impl;

import com.sinog.biz.service.business.IdGenService;
import com.sinog.biz.util.IdGen;
import org.springframework.stereotype.Service;

/**
 * @desc 生成唯一ID-IdGenServiceImpl
 * @author lzq
 * @date 2020-08-01 12:26 下午
 */
@Service
public class IdGenServiceImpl implements IdGenService {

    /**
     * 生成唯一ID
     * @return String
     */
    @Override
    public String getId() {
        return IdGen.strid();
    }
}